﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VBGQ.ascx.cs" Inherits="CMS.Web.Template.VBGQ" %>
<table  border="0" cellpadding="3" cellspacing="0" width="100%" style="border-collapse:collapse;">
    <tr>
        <td valign="middle" align="left" height="50px"><font class="Title">VĂN BẢN TRẢ LỜI VÀ CÔNG BỐ</font></td>
    </tr>
    <tr>
        <td>
            <asp:GridView ID="gridObj" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="ID"
                Width="99%" CellPadding="4" GridLines="None" OnPageIndexChanging="gridObj_PageIndexChanging" BackColor="Transparent"
                EmptyDataText="Không có văn bản nào!" EmptyDataRowStyle-CssClass="Grid_Error" OnRowCreated="gridObj_RowCreated" CssClass="Grid_Border">
                <Columns>                                        
                    <asp:BoundField DataField="TrichDan" HeaderText="Tr&#237;ch dẫn" SortExpression="TrichDan" >
                        <HeaderStyle HorizontalAlign="Left" Width="95%"/>
                        <ItemStyle HorizontalAlign="Left" Width="95%"/>
                    </asp:BoundField>                   
                    <asp:TemplateField HeaderText="">
                        <HeaderStyle HorizontalAlign="Center" Width="5%"/>
                        <ItemStyle HorizontalAlign="Center" Width="5%"/>
                        <ItemTemplate>  
                            <a class="Link-button" href="sharedoc/lichtiep/<%# Eval("TenFileDinhKem")%>">    
                                <img src="Images/Download.ico" border="0" width="16px" height="16px" style="display:<%# ShowFileDinhKem(Convert.ToString(DataBinder.Eval(Container.DataItem, "TenFileDinhKem")))%>"/>  
                            </a>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" CssClass="Paging_Link" />                
                <RowStyle CssClass="Row_Round" />
                <PagerStyle BackColor="Transparent" CssClass="Paging_NotLink" HorizontalAlign="Right" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="False" ForeColor="#333333" />
                <HeaderStyle CssClass="Row_Title" />
                <EditRowStyle BackColor="Transparent" />
                <AlternatingRowStyle CssClass="Row_Odd" />
                <EmptyDataRowStyle CssClass="Row_Error" />
            </asp:GridView>
        </td>
    </tr>
</table>